home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.std.c
- Path: harlequin.co.uk!daveb
- From: daveb@harlqn.co.uk (Dave Berry)
- Subject: Re: Undefined result vs. int's holding undefined values.
- Message-ID: <DL2CFs.FG0@harlequin.co.uk>
- Sender: usenet@harlequin.co.uk (Usenet Maintainer)
- Organization: Harlequin Ltd.
- References: <4ck70b$rd7@news.informix.com> <oZA8wQ9ytpjN084yn@csn.net> <4cs460$d6e@news.informix.com> <DKyIx1.1qr@ukpsshp1.serigate.philips.nl>
- Date: Fri, 12 Jan 1996 10:14:16 GMT
-
- baynes@ukpsshp1.serigate.philips.nl (Stephen Baynes) writes:
- >Daniel Wood (dwood@informix.com) wrote:
- >: Do any machines exist which actually explode when you add two number together
- >: such that the result would exceed MAXINT? :-) Get practical!
- >
- >VAXes
- >If you set the apropriate bit in the process status word then integer overflow
- >causes a trap.
-
- The SPARC and MIPS processors also have integer instructions that trap on
- overflow.
-
- Dave.
-
- --
- One more touch and then you'll see Harlequin Ltd.,
- Worlds of hidden mystery, Barrington Hall,
- Visions of beyond recall. Barrington,
- (You know you're only dreaming). Cambridge, UK.
-